< previous page page_428 next page >

Page 428
TABLE 15.8. THE SYSTRAY CONTROL'S PROPERTIES AND EVENTS.
NameDescription
Properties
InTraySpecifies whether the icon will appear in the system tray
TrayTipContains the text that's displayed when the mouse pointer is positioned on the icon
TrayIconSets the bitmap used as the system tray icon
Events
MouseDblClickOccurs when either mouse button is used to double-click the icon
MouseMoveOccurs when the mouse is moved over the icon
MouseUpOccurs when either mouse button is released when positioned on the icon
MouseDownOccurs when either mouse button is pressed when positioned on the icon

Adding the Control
To add the control, first open the Address Book project in Visual Basic. Then, to add the control project, choose File, Add Project and select SYSTRAY.VBP in the Visual Basic /SAMPLES directory. This adds a new project with several objects to the Project Explorer window (see Figure 15.4). When the control is included in the project, its icon appears in the Visual Basic toolbox (see Figure 15.5).
12181-0428a.gif
Figure 15.4.
Adding the new control to the
Address Book application project.

 
< previous page page_428 next page >

If you like this book, buy it!